
#ifndef OPERASTACKWIDGET_H
#define OPERASTACKWIDGET_H

#include <BTextEdit>
#include <BTableWidget>
#include <BDialog>

using namespace BWE;

class OperaStackWidget : public BTableWidget
{
	BOBJECT(OperaStackWidget)
public:
	OperaStackWidget(BWidget* parent = 0);
	~OperaStackWidget();

protected:
	void freshOperaList();

protected:
	void slotAssetChanged(BObject* object, const BValue& value);
	void slotTextEditOpera(BTextEdit* textEdit, const BValue& value);

protected:
	virtual void paintEvent(const BEvent& event);

private:
	BTextEdit*		_textEdit;

};

#endif
